package entities;

import java.awt.Color;
import java.awt.Graphics2D;


/**
 * FixedMass is a point object that stays stationary throughout the simulation.
 * @author Lance Co Ting Keh
 * @author Paul Dannenberg
 *
 */
public class FixedMass extends PointObject {
    /**
     * @param id - id of the object provided by the data file
     *@param x -x coordinate of the object
     * @param y - y coordinate of the object
     */
    public FixedMass (int id, double x, double y) {
        super(id, x, y);
    }

    public final void paint(Graphics2D pen) {
        pen.setColor(Color.GRAY);
        pen.fillOval(getLeft(), getTop(), getSize().width, getSize().height);
    }
}
